package com.pioneer.web.manager.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.pioneer.web.manager.domain.ManGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 26271
* @description 针对表【man_goods】的数据库操作Mapper
* @createDate 2025-05-19 16:42:58
* @Entity com.pioneer.web.manager.domain.ManGoods
*/
@Mapper
public interface ManGoodsMapper extends BaseMapper<ManGoods> {
    /**
     * @Author 罗熠轩
     * @Description // 只返回已上架商品
     * @Date 下午4:42 21/5/2025
     * @Param [goods]
     * @return java.util.List<com.pioneer.web.manager.domain.ManGoods>
     **/
    List<ManGoods> cliList(ManGoods goods);

    /**
     * 根据商品名称查询商品ID
     * @param goodsName 商品名称
     * @return 商品ID
     */
    Long selectIdByName(String goodsName);
}




